package com.zangchat.service;

import com.common.core.domain.AjaxResult;
import com.zangchat.domain.ChatConcernusers;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 用户关注 服务层
 *
 * @author wudi
 * @date 2020-07-15
 */
public interface IChatConcernusersService extends IService<ChatConcernusers> {
    AjaxResult selectChatConcernusersByUserId(Long userId, Integer pageNum,Integer pageSize);

    AjaxResult doConcern(Long userId, Long toUserId);

    AjaxResult restConcern(Long userId, Long toUserId);

    public AjaxResult changeBlack(Long userId, Long toUserId);

    AjaxResult selectFansListByToUserId(Long userId, Integer pageNum, Integer pageSize);

    AjaxResult selectBlackListByUserId(Long userId, Integer pageNum, Integer pageSize);

    AjaxResult restChangeBlack(Long userId, Long toUserId);


}